package com.example.intermingle.dto;

import java.util.List;

/**
 * @author 绿松石
 * @version V1.0
 * @Title JqGridPageDto
 * @Description
 * @date 2021年08月31日 13:24
 * @since V1.0
 */
public class JqGridPageDto<T> {

    /** 总页数 */
    private int total ;

    /** 当前页数 */
    private int page ;

    /** 总记录数 */
    private long records ;

    /** 数据 */
    private List<T> rows;
    /** 异常信息*/
    private String errorMsg ;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public long getRecords() {
        return records;
    }

    public void setRecords(long records) {
        this.records = records;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
